package com.wm.homework03;

public class Multiply extends Calculator {
    @Override
    public void calculate() {
        double mult = super.getFristNum() * super.getSecondNum();
        System.out.println("两个数相乘为:" + mult);
    }

    public Multiply() {
    }

    public Multiply(double fristNum, double secondNum) {
        super(fristNum, secondNum);
    }
}
